<?php

#################################################################
#								HTML
#################################################################

/**
 * HOME PAGE
 */

if($_CONTEXT=='HTML'){
	
//$_JS_STACK->push(blg_get_site_url().'404.js', TRUE);	
//$_CSS_STACK->push(blg_get_site_url().'404.css', TRUE);

$content= 'HOME';

/*
$text= 'Mi <u>texto</u> cualquiera con <a href="http://www.google.es">enlace</a> a una página aleatoria...';

$content= blg_view('element/text', array(
	'name' => 'mytextarea1',
	'text' => $text,
	'rich' => TRUE,
	'description' => 'My description here for goodies',
	//'width' => 100,
	'height' => 200,
	//'blank' => '',
	'id' => 'myTextAreaID1',
	//'resize' => TRUE,
	'config' => 'basic'
));

$content.= blg_view('element/text', array(
	'name' => 'mytextarea3',
	'text' => $text,
	'rich' => TRUE,
	'description' => 'My description here for goodies',
	//'width' => 100,
	'height' => 500,
	//'blank' => '',
	'id' => 'myTextAreaID3',
	//'resize' => TRUE,
	'config' => 'Full'
));

$content.= blg_view('element/text', array(
	'name' => 'mytextarea2',
	'text' => $text,
	'rich' => FALSE,
	'description' => 'My description here for goodies',
	'width' => 100,
	'height' => 100,
	//'blank' => '',
	'id' => 'myTextAreaID2',
	//'resize' => TRUE
));

$content.= $text;
*/

$content= 'CCCC '.blg_view('media/youtube/player', array(
	'v' => 'NHzldCwMY74',
	//'layout' => 'preview'
)).' CCCCC';

echo blg_view('layout/main', array(
	'content'=> $content
));

}
#################################################################
#								JS
#################################################################
elseif($_CONTEXT=='JS'){ ?>

<?php }
#################################################################
#								CSS
#################################################################
elseif($_CONTEXT=='CSS'){ ?>

<?php }
